﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using EntityV1;

/// <summary>
///  请求实体
/// </summary>
namespace EntityModel.V1.dd_project.Request
{
    /// <summary>
    /// 基础 删除 查询
    /// </summary>
    public class Basic : BaseModel.RequestHeader
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [DataMember]
        public int ID { get; set; }
    }

    /// <summary>
    /// 添加 修改
    /// </summary>
    public class AddUpdate : Basic
    {
         /// <summary>
        /// 项目名称
        /// </summary>
        [DataMember]
        public string Name { get; set; }

 /// <summary>
        /// 项目负责人
        /// </summary>
        [DataMember]
        public Nullable<int> dd_user_id { get; set; }

 /// <summary>
        /// 详细地址
        /// </summary>
        [DataMember]
        public string address { get; set; }

 /// <summary>
        /// 备注
        /// </summary>
        [DataMember]
        public string remark { get; set; }

 /// <summary>
        /// 位置经度
        /// </summary>
        [DataMember]
        public Nullable<decimal> longitude { get; set; }

 /// <summary>
        /// 位置维度
        /// </summary>
        [DataMember]
        public Nullable<decimal> latitude { get; set; }

 /// <summary>
        /// 项目状态
        /// </summary>
        [DataMember]
        public Nullable<int> status { get; set; }

 /// <summary>
        /// 城市
        /// </summary>
        [DataMember]
        public string city { get; set; }


    }
	
    /// <summary>
    /// 分页查询
    /// </summary>
    public class SelectPages : Basic
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public SelectPages()
        {
            if (this.Page == null)
            {
                this.Page = new CommonLib.Model.Pages();
            }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public List<SearchFilter> Filter { get; set; }

        /// <summary>
        /// 分页信息
        /// </summary>
        public CommonLib.Model.Pages Page { get; set; }
    }
}
